import React from 'react'
import ALL from '../../../component/ALL';
import Hasbeensubmitted from '../../../component/Hasbeensubmitted';
import Uncommitted from '../../../component/Uncommitted';
import { Tabs } from 'antd';
export default function Home() {
  const items = [
    {
      key: '1',
      label: '全部商品',
      children: <ALL/>,
    },
    {
      key: '2',
      label: '未提交商品',
      children: <Uncommitted/>,
    },
    {
      key: '3',
      label: '已提交商品',
      children: <Hasbeensubmitted/>,
    },
  ];
  return (
    <div>
      <Tabs defaultActiveKey="1" items={items}/>
    </div>
  )
}
